<?php
class SexinfoModel extends Orm_Base{
    public $table = 'sex_info';
    public $field = array(
        'id' => array('type' => "int(11) unsigned",'comment' => ''),
        'sexnum' => array('type' => "tinyint(1)",'comment' => '性别编码'),
        'introduce' => array('type' => "varchar(10)",'comment' => '性别描述'),
        'created' => array('type' => "int(11)",'comment' => ''),
        'updated' => array('type' => "int(11)",'comment' => ''),
    );
    public $pk = 'id';
    //性别
    public $tSexinfo = array(
        '1' => '男',
        '2' => '女',
        '0' => '未知',
    );
}
?>
